package com.cn.mmd.service;

import com.cn.mmd.mapper.StudentCountMapper;
import com.cn.mmd.model.StudentCount;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2016/12/2.
 */
@Service("studentCountService")
public class StudentCountServiceImpl implements StudentCountService {

    @Autowired
    private StudentCountMapper studentCountMapper;

    @Override
    public StudentCount selectByPrimaryKey(String studentid) {
        return studentCountMapper.selectByPrimaryKey(studentid);
    }

    @Override
    public int updateByPrimaryKeySelective(StudentCount record) {
        return studentCountMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int insertSelective(StudentCount record) {
        return studentCountMapper.insertSelective(record);
    }
}
